package cn.hinglo.gameclaw.user.bean;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @createTime: 2018/1/5
 * @author: HingLo
 * @description: App反馈信息
 */
@Data
@Accessors(chain = true)
@Table(name = "feed_back")
public class FeedBack {

    /**
     * 反馈类型 房间反馈，软件反馈
     */
    public Integer type;
    @Id
    private String id;
    /**
     * 娃娃机编号，如果是房间反馈，才是必须填写
     */
    private Integer cid;
    @NotNull(message = "反馈的内容不能为空")
    /**
     * 反馈内容
     */
    private String content;

    private Date date;

    @Column(name = "user_id")
    private String userId;
    /**
     * 处理状态
     */
    private Boolean status;
}
